const { parse } = require('babylon');
const generate = require('babel-generator').default;

const code = 'class Example {}';
const ast = parse(code);

let output = generate(ast);
console.log(ast, output);
